package com.wp.module.WpWallpaperColor.domain;

import com.wp.common.annotation.Excel;
import com.wp.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 颜色类型对象 wp_wallpaper_color
 * 
 * @author wp
 * @date 2025-02-25
 */
public class WpWallpaperColor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 颜色色系 */
    @Excel(name = "颜色色系")
    private String name;

    /** 颜色编码 */
    @Excel(name = "颜色编码")
    private String codes;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCodes() {
        return codes;
    }

    public void setCodes(String codes) {
        this.codes = codes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("codes", getCodes())
            .toString();
    }
}
